package com.recruit.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.recruit.common.model.CompanyDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Eval
 * @since 2022-04-01
 */
@Mapper
public interface CompanyMapper extends BaseMapper<CompanyDO> {

    boolean updateState(@Param("id") Integer id, @Param("state") Integer state);
    boolean updateState2(@Param("id") Integer id, @Param("state") Integer state,  @Param("nopassreason") String nopassreason);

    List<CompanyDO> findHotCompany();

}
